Projectile
    animation = Animation
    rotatable = b(true)
    acceleration = double
    action = Trigger
    light = Light
    smoke = SmokeSources
    direction_only = b(false)
    [shadow] = Animation

errors:
    if shadow and shadow.count ~= animation.count
        throws error("Frame count of shadow and animation have to match.")

game.createentity{name="laser", position = game.player.position, target=game.player.selected, speed=1}
game.createentity{name="laser", position = game.player.position, target=game.player.selected, speed=0}
game.createentity{name="laser", position = game.player.position, target=game.player.selected, speed=1, force = game.player.force}
